package com.tiny_wind.resource_manager.dao;

import com.tiny_wind.resource_manager.entity.NodeEntity;
import com.tiny_wind.resource_manager.entity.NodeFilter;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NodeDao {
		
	List<NodeEntity> search(NodeFilter filter);
	
	Integer insert(NodeEntity entity);
	
	int getTotalCount(NodeEntity filter);

	
	void update(NodeEntity entity);

	//删除指定idtodo.
	void delete(@Param("id") long id);
	
}
